<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>B页面</title>
	</head>
	<body>
		<button type="button" onclick="reloadNowPageB();">刷新页面</button>
		<button type="button" onclick="btnforward();">前进</button>
		<button type="button" onclick="btnback();">后退</button>
		<button type="button" onclick="Cpage();">跳转到C页面</button>
	</body>
	<script type="text/javascript">
		function reloadNowPageB(){
			location.reload();
		}
		function btnforward(){
			history.forward();
		}
		function btnback(){
			history.back();
		}
		function Cpage(){
			location.href = 'C.html';
		}
	</script>
</html>
